
<div id="myId"></div>


<style>
    #myId:before {
        content: "hello world!";
        display: block;
        width: 100px;
        height: 100px;
        background: red;
    }
</style>



